© Copyright Microsoft Corporation, 2003. All rights reserved.
The SQL Server documentation team cannot answer technical support questions, but welcomes your suggestions and comments about this readme documentation. You can quickly and directly send e-mail feedback using the link below. All feedback must be in English. To submit written feedback about this document, click here: Submit feedback.
This document contains the release information for the Reporting Services FsiDataExtension sample code files. The following sections are included in this Readme:
Overview
FsiDataExtension offers a brief introduction on how to build your own data processing extension. The sample uses the Windows file system as a data source. It uses the .NET Framework library classes DirectoryInfo and FileSystemInfo to query the contents of any valid network file share. The sample uses the data processing extension interfaces as well as other .NET Framework classes. The naming convention used for the sample is the prefix Fsi, or File Share Information.
Topics
The following bullets briefly describe the classes and technologies used by this sample.
Location
The sample code files are located in the Extensions\FsiDataExtension subdirectory of the Reporting Services samples directory.
For Example:
C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\Samples\Extensions\FsiDataExtension
Building and deploying the sample
In order to properly build and run this sample, the following steps need to be performed.
To build the sample using the .NET Framework SDK
csc /t:library /out:Microsoft.Samples.ReportingServices.FsiDataExtension.dll *.cs /r:Microsoft.ReportingServices.Interfaces.dll
To build the sample using Visual Studio .NET
The Add References dialog box opens.
The selected reference is added to your project.
After you have completed the previous steps, Microsoft.Samples.ReportingServices.FsiDataExtension.dll can be deployed to a report server or to Report Designer for use in running reports against a custom data source.
To deploy the sample
<Extension Name="FSI" Type="Microsoft.Samples.ReportingServices.FsiDataExtension.FsiConnection,Microsoft.Samples.ReportingServices.FsiDataExtension"/>
<Extension Name="FSI" Type="Microsoft.ReportDesigner.Design.GenericQueryDesigner,Microsoft.ReportingServices.Designer"/>
To configure code access security for the sample
<CodeGroup class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="FSICodeGroup"
Description="Code group for my FSI data processing extension">
<IMembershipCondition class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.FsiDataExtension.dll"
/>
</CodeGroup>
<CodeGroup class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="FSICodeGroup"
Description="Code group for my FSI data processing extension">
<IMembershipCondition class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\80\Tools\ReportDesigner\bin\Microsoft.Samples.ReportingServices.FsiDataExtension.dll"
/>
</CodeGroup>
The default location for the rspreviewpolicy.config file is C:\Program Files\Microsoft SQL Server\80\Tools\ReportDesigner.
Notes
For information about implementing a Reporting Services data processing extension, see "Implementing a Data Processing Extension" in Reporting Services Books Online.